<template>
  <div>
    <p v-bold v-bgred>呜呼呼</p>
  </div>
</template>

<script>
export default {
  name: "App",
  directives: {
    bgred(ele) {
      ele.style.background = "red";
    },
  },
};
</script>

<style>
</style>